import request from '@/utils/request'

export function getIndustryList(query) {
  return request({
    url: '/finance/industry/getList',
    method: 'post',
    data: query
  })
}

export function getIndustryUsableList(query) {
  return request({
    url: '/finance/industry/getAvailable',
    method: 'post',
    data: query
  })
}

export function getIndustryDetail(id) {
  return request({
    url: '/finance/industry/getDetail',
    method: 'post',
    data: id 
  })
}

export function saveIndustry(id) {
  return request({
    url: '/finance/industry/save',
    method: 'post',
    data: id
  })
}

export function removeIndustryByID(id) {
  return request({
    url: '/finance/industry/remove',
    method: 'post',
    data: id
  })
}

export function changeStatusByIndustryID(id) {
  return request({
    url: '/finance/industry/change-status',
    method: 'post',
    data: id
  })
}

